def fav(*fr):
    print('我喜欢的水果有:')
    for i in fr:
        print(i)


fav('苹果')
fav('苹果', '香蕉', '芒果')
fav('苹果', '西瓜', '橙子', '榴莲', '草莓')


def show(a, b, *l):
    print(a)
    print(b)
    print(l)


show(1, 2, 4, 5, 6, 7, 9, 56)


def rect():
    a = int(input('请输入矩形的长'))
    b = int(input('请输入矩形的宽'))
    s = a * b
    c = 2 * (a + b)
    print('矩形的面积为', s)
    print('矩形的周长为', c)


def re(a, b, c, d):
    return a + b, c * d, a - c


ss = re(1, 2, 3, 4)
print(ss)

def fu():
    a = 20
    return a

a = 1
print(a)
c = fu()
print(c)


